<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
<?php if(is_string($msg) && !empty($msg)):?><?php $this->put($msg, false);?>
<?php else:?>消息提示
<?php endif;?></title>
<style type="text/css">
    *{ margin:0; padding:0; font-size:12px; color:#666666; }
    a,
    a:link    { color:#2288E3; text-decoration:none; }
    a:hover   { text-decoration:underline; }
    a:active  { color:#FF6666; }
    a:focus   { outline:none;  }
    .outer { margin:15% auto; width:500px;border:5px solid #EAF4F8; }
    .inner { width:498px;border:1px solid #66CCFF; }
    .inner h3 { margin:1px 1px 10px 1px;padding:0;line-height:200%; font-size:14px; text-indent:10px; color:#111; background:#EAF4F8; }
    .inner p { margin-bottom:10px; padding-left:20px;}
    .inner ol{ display:block; margin:0 10px 10px 40px; }
    .inner ol li { margin-bottom:10px; line-height:150%; }
    .msg { font-size:14px;}
    .btn {
      margin-right:5px;
      padding:1px 10px;
      height:21px;
      background:#37BAFB;
      border-width:1px;
      color:#FFF;
      line-height:17px;
      letter-spacing:1px;
      vertical-align:middle;
     }
    .top-line { margin:0 20px; padding:10px 0; border-top:1px solid #DDD; }
</style>
<?php if(!empty($jumpurl)):?><META HTTP-EQUIV='Refresh' CONTENT='<?php $this->put($refresh_time, false);?>; URL=<?php $this->put($jumpurl, false);?>'>
<?php elseif (($jumpurl=get_referer_uri()) != ''):?><META HTTP-EQUIV='Refresh' CONTENT='<?php if(!empty($refresh_time)) $this->put($refresh_time, false);else $this->put(2);?>; URL=<?php $this->put($jumpurl, false);?>'>
<?php else:?>
<script type="text/javascript">
<!--
    function redirect (){ setTimeout("go_now()",<?php if(!empty($refresh_time)) $this->put($refresh_time, false);else $this->put(2);?> * 1000) }
    function go_now () { history.back() }
    redirect();
//-->
</script>
<?php endif;?>
</head>
<body>
<div class="outer">
    <div class="inner">
    <h3>提示信息</h3>
    <?php if(is_array($msg)):?><ol>
        <?php foreach($msg as $val):?><li><?php $this->put($val, false);?></li>
        <?php endforeach;?></ol>
    <?php else:?><p class="msg"><?php $this->put($msg, false);?></p>
        <?php if(!empty($jumpurl)):?><p>正在跳转</p>
        <?php endif;?><?php endif;?><?php if(!empty($jumpurl)):?><div class="top-line">
        <input class="btn" value="点击进入" type="button" onclick="javascript:window.location.href='<?php $this->put($jumpurl, false);?>';"/>
        </div>
    <?php else:?><div class="top-line">
        <input class="btn" value="返回上一页" type="button" onclick="javascript:history.back(-1)" />
        <input class="btn" value="关闭本页" type="button" onclick="window.opeener=null;window.close()"/>
        </div>
    <?php endif;?></div>
</div>
</body>
</html>